function OpenChatBotUI()
	local DFrame1 = vgui.Create('DFrame')
	DFrame1:SetSize(500, 75)
	DFrame1:Center()
	DFrame1:SetTitle('NICK: Nice Intellegent ChatBot Kewl!!   --     UI    --')
	DFrame1:SetSizable(true)
	DFrame1:SetDeleteOnClose(false)
	DFrame1:SetScreenLock( true )
	DFrame1:SetDraggable(false)
	DFrame1:SetBackgroundBlur(true)
	DFrame1:SetSizable(false)
	DFrame1:MakePopup()

	local DPanel2 = vgui.Create('DPanel', DFrame1)
	DPanel2:SetPos(5, 27)
	DPanel2:SetSize(490, 40)
	

	local DTextEntry1 = vgui.Create('DTextEntry',DPanel2)
	DTextEntry1:SetPos(5, 10)
	DTextEntry1:SetSize(390, 25)
	DTextEntry1:SetText('Enter the text for nick to say!')
	DTextEntry1.OnEnter = function()
		RunConsoleCommand( "ChatBot_OVERIDE", DTextEntry1:GetValue() )
		DFrame1:Close()
	end

	local DButton2 = vgui.Create('DButton',DPanel2)
	DButton2:SetPos(400, 10)
	DButton2:SetSize(70, 25)
	DButton2:SetText('OVERIDE')
	DButton2.DoClick = function()
		RunConsoleCommand( "ChatBot_OVERIDE", DTextEntry1:GetValue() )
		DFrame1:Close()
	end

end

concommand.Add("ChatBot_UI", OpenChatBotUI )